#ifndef _BUOLA_GUI_CONTAINERS_CMOSAICCONTAINER_H_
#define _BUOLA_GUI_CONTAINERS_CMOSAICCONTAINER_H_

#include <buola/gui/cwindow.h>

namespace buola { namespace gui {

class CMosaicContainer : public CWindow
{
public:
    CMosaicContainer();
    virtual ~CMosaicContainer();

    void SetNumRows(int pNumRows);    
    void SetMargin(double pMargin);
    
    void Add(const PWindow &pWindow);

    virtual void OnLayout();
    virtual void OnExpose(const CExposeEvent &pE);

private:
    int mNumRows;
    double mMargin;
    img::PFont mFont;
};

/*namespace gui*/ } /*namespace buola*/ }

#endif
